﻿using System;

namespace SharpTrainer.DP.Visitor.Generic
{
    public class ConcreteElementB : Element 
    { 
        public override void Accept(Visitor visitor) 
        { 
            visitor.VisitConcreteElementB(this); 
        } 
        
        public void OperationB() 
        {
            Console.WriteLine(this.GetType().Name);
        } 
    }
}

